package cn.caixiong.org.mapper;

import cn.caixiong.org.domain.Department;
import cn.caixiong.org.query.DepartmentQuery;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DepartmentMapper extends Mapper<Department> {

    List<Department> findPage(DepartmentQuery query);

    List<Department> findParentDepts();

}
